﻿using Microsoft.EntityFrameworkCore;
using SaaS.Model.Entity.Sites;
using SaaS.Model.Entity.Gateways;
using SaaS.Model.Entity.Auths;
using SaaS.Model.Entity.Users;

namespace Web.Client.Services
{
    public class ClientDbContext : DbContext
    {
        public ClientDbContext(DbContextOptions<ClientDbContext> options) : base(options)
        {

        }
        /// <summary>
        /// 用户表
        /// </summary>
        public DbSet<User> Users { get; set; }
        public DbSet<Basics> Basics { get; set; }
        public DbSet<Project> Projects { get; set; }
        public DbSet<ProjectDetail> ProjectDetails { get; set; }
        public DbSet<ProjectPermission> ProjectPermissions { get; set; }
        public DbSet<Order> Orders { get; set; }
        public DbSet<Operation> Operations { get; set; }
    }
}
